﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using xKnight.Models;

namespace xKnight.Analyzing.Csrf
{
    public class CsrfAnalyzeAnnounceItem : AnalyzeAnnounceItem
    {
        private Models.CsrfAttack _attack;
        public CsrfAttack CsrfAttack
        {
            get
            {
                return _attack;
            }
        }

        public CsrfAnalyzeAnnounceItem(CsrfAttack attack, string description, DateTime dateTime)
            :base(description,dateTime,attack.Succeed.Value,attack.Webpage.Url)
        {
            _attack = attack;
        }
    }
}
